<template>
  <div class="common-layout">
    <el-container>
      <el-header>
        <Header></Header>
      </el-header>
      <el-container>
        <el-aside width="200px">
          <menu-list></menu-list>
        </el-aside>
        <el-main>
          <RouterView/>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import Header from '@/components/Header.vue';
import MenuList from '@/components/MenuList.vue';
import { RouterView } from 'vue-router';
  export default {
    components:{Header,MenuList,RouterView}
    
  }
</script>

<style scoped>
.el-header{
  background-color: #00aaff;
}
.el-aside{
  background-color: white;
}
.el-main{
  background-color: white;
}
.common-layout,.el-container{
  width: 100%;
  height: 100%;
}
</style>